package com.ruizhong.centercontroll.util;

import com.ruizhong.centercontroll.entity.*;

import lombok.Data;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.HashMap;
import java.util.List;

@XmlRootElement
@Data
public class XmlPageMap  {

    private List<TButton> buttonList;

    private List<TImage> imageList;

    private TPage pageInfo;

    private List<TSlider> sliders;

    private List<TSwitch> tSwitches;

    private List<TTextView> tTextViews;

    private List<TVideo> tVideos;

    private List<TWebPage> tWebPages;

    @XmlElement
    public List<TWebPage> gettWebPages() {
        return tWebPages;
    }

    @XmlElement
    public List<TVideo> gettVideos() {
        return tVideos;
    }

    @XmlElement
    public List<TTextView> gettTextViews() {
        return tTextViews;
    }

    @XmlElement
    public List<TSwitch> gettSwitches() {
        return tSwitches;
    }

    @XmlElement
    public List<TSlider> getSliders() {
        return sliders;
    }

    @XmlElement
    public TPage getPageInfo() {
        return pageInfo;
    }

    @XmlElement
    public List<TImage> getImageList() {
        return imageList;
    }

    @XmlElement
    public List<TButton> getButtonList() {
        return buttonList;
    }
}
